/*
 * Generated by XDoclet - Do not edit!
 */
package hotel.ejb;

/**
 * CMP layer for Habitacio.
 * @xdoclet-generated at ${TODAY}
 * @copyright The XDoclet Team
 * @author XDoclet
 * @version ${version}
 */
public abstract class HabitacioCMP
   extends hotel.ejb.HabitacioBean
   implements javax.ejb.EntityBean
{

   public void ejbLoad() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.ejbLoad();
   }

   public void ejbStore() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
         super.ejbStore();
   }

   public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.ejbActivate();
   }

   public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.ejbPassivate();

      HabitacioValue = null;
   }

   public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.setEntityContext(ctx);
   }

   public void unsetEntityContext() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.unsetEntityContext();
   }

   public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException, javax.ejb.RemoveException
   {
      super.ejbRemove();

   }

 /* Value Objects BEGIN */

   private hotel.interfaces.HabitacioValue HabitacioValue = null;

   public hotel.interfaces.HabitacioValue getHabitacioValue()
   {
      HabitacioValue = new hotel.interfaces.HabitacioValue();
      try
         {
            HabitacioValue.setID( getID() );
            HabitacioValue.setTipus( getTipus() );

         }
         catch (Exception e)
         {
            throw new javax.ejb.EJBException(e);
         }

	  return HabitacioValue;
   }

/* Value Objects END */

   public abstract java.lang.Integer getID() ;

   public abstract void setID( java.lang.Integer ID ) ;

   public abstract java.lang.Integer getTipus() ;

   public abstract void setTipus( java.lang.Integer tipus ) ;

}
